<?php

require_once ('lib/config.php');

function is_authorized_user($username)
{
	global $allowed_user;

	if (!isset($allowed_user) || $allowed_user == FALSE)
	{
		return TRUE;	
	}

	return in_array($username, $allowed_user);
}